﻿/* Write a program that reads a date and time given in the format: day.month.year hour:minute:second and prints the date and time after 6 hours and 30 minutes (in the same format) along with the day of week in Bulgarian. */

using System;
using System.Text;
using System.Globalization;
using System.Threading;

namespace _17.ReadPrintAfter630
{
    class ReadPrintAfter6030
    {
        static void Main()
        {
            Thread.CurrentThread.CurrentCulture = new CultureInfo("bg-BG");
            Console.OutputEncoding = Encoding.UTF8;
            DateTime date = new DateTime();

            Console.Write("Enter a date & time: ");
            date = DateTime.Parse(Console.ReadLine());

            DateTime dateafter = new DateTime();
            dateafter = date.AddHours(6.00);
            dateafter = dateafter.AddMinutes(30.00);
            Console.WriteLine("The date and time after six hours and thirty minutes: {0:dd.M.yyyy hh:mm:ss, dddd}", dateafter);
        }
    }
}
